#pragma once

#include <boost/asio.hpp>
#include "GalconSession.h"


class GalconRoom;

class GalconServer
{
public:
   
   GalconServer(boost::asio::io_service& service, boost::asio::ip::tcp::endpoint& endpoint);
   ~GalconServer();

private:

   void handle_accept(GalconSessionPtr, const boost::system::error_code&);
   boost::asio::io_service& m_ioService;
   boost::asio::ip::tcp::acceptor m_acceptor;
   GalconRoom m_room;

};
